from pattern.circuit import Control

class entry(Control):
    
    def please(self, event):
        key, = event.data
        bridge = self.acquireInterface(event, "storage")
        if bridge is None:
            return "No storage."
        else:
            return bridge.pull().get(key, "Key not found.")
